package com.my.okhttps.test.vo.shebao2;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author timo 2021/3/4
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SheBaoBaseInfo {
    private String userName;
    private String idCard;//身份证
    private String phone;//手机

    private String bankName;//网点编码 银行名称
    private String bankNo;//银行编码
    private String bankCard;//银行卡号

    private String areaNo;//行政区划

    private String shebaoCardStaus;//社会保障卡状态
    private String shebaoNo;//社会保障号
    private String shebaoCard;//社会保障卡卡号	"EA5837748"

    private String postcode;///邮政编码	"646000"
    private String birthDay;//出身日期


    public SheBaoBaseInfo(SheBaoBaseInfoVo sheBaoBaseInfoVo) {
        this.userName = sheBaoBaseInfoVo.getAac003();
        this.idCard = sheBaoBaseInfoVo.getAac147();
        this.phone = sheBaoBaseInfoVo.getAac067();
        this.bankName = sheBaoBaseInfoVo.getAff002();
        this.bankNo = sheBaoBaseInfoVo.getAac080();
        this.bankCard = sheBaoBaseInfoVo.getYhkh();

        this.areaNo = sheBaoBaseInfoVo.getAab034();
        this.shebaoCardStaus = sheBaoBaseInfoVo.getAaz502();
        this.shebaoNo = sheBaoBaseInfoVo.getAac002();
        this.shebaoCard = sheBaoBaseInfoVo.getAaz500();

        this.postcode = sheBaoBaseInfoVo.getAae007();
        this.birthDay = sheBaoBaseInfoVo.getAac006();
    }
}
